package com.gacu.viewer.client.ui.menu;

import java.util.HashMap;

import com.gacu.viewer.client.Rna_ss_viewer;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.VerticalPanel;

public class Menu_Sequences extends VerticalPanel {

    private final HashMap<String, String> seqList = new HashMap<String, String>();

    public Menu_Sequences() {
        super();

        // Setup base panel
        setWidth("195px");
        setBorderWidth(0);
        setSpacing(2);
        setHorizontalAlignment(VerticalPanel.ALIGN_CENTER);
        setVerticalAlignment(VerticalPanel.ALIGN_TOP);

        // Create and setup button
        class AddRnaStrandButtonClick implements ClickHandler {
            @Override
            public void onClick(ClickEvent event) {
                if (Rna_ss_viewer.propMenu.isVisible()) {

                }
            }
        }
        Button btnAddStrands = new Button("Add RNA Strand", new AddRnaStrandButtonClick());
        btnAddStrands.setWidth("80%");
        add(btnAddStrands);
    }
}
